package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理员对象 zzxx_admin
 * 
 * @author //
 * @date 2022-06-20
 */
public class ZzxxAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long adminId;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 管理员管理课程信息 */
    private List<ZzxxAdminCourse> zzxxAdminCourseList;

    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public List<ZzxxAdminCourse> getZzxxAdminCourseList()
    {
        return zzxxAdminCourseList;
    }

    public void setZzxxAdminCourseList(List<ZzxxAdminCourse> zzxxAdminCourseList)
    {
        this.zzxxAdminCourseList = zzxxAdminCourseList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adminId", getAdminId())
            .append("name", getName())
            .append("gender", getGender())
            .append("telephone", getTelephone())
            .append("age", getAge())
            .append("nation", getNation())
            .append("birthday", getBirthday())
            .append("zzxxAdminCourseList", getZzxxAdminCourseList())
            .toString();
    }
}
